-- GENERATED SPELL FOR [Galak Mauler] --


function spell0_4095(pUnit, Event) --@Demoralizing Shout,Self--
pUnit:FullCastSpellOnTarget(13730,pUnit)
pUnit:RegisterEvent('Sorts_4095', 30267, 1)
end

function Sorts_4095(pUnit, Event)
local choix_sorts_4095 = math.random(0, 0)
if choix_sorts_4095 == 0 then
pUnit:RegisterEvent('spell0_4095', 1, 1)
end
end

function mob4095_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4095', math.random(1500, 3000), 1)
end

function mob4095_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4095_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4095_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4095, 1, 'mob4095_Action')
RegisterUnitEvent(4095, 2, 'mob4095_Leave')
RegisterUnitEvent(4095, 3, 'mob4095_Kill')
RegisterUnitEvent(4095, 4, 'mob4095_Die')
